home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 2
/
Mac Magazin and MacEasy Magazine CD - Issue 02.iso
/
Sharewarebibliothek
/
Applikationen
/
Alpha.5.81 folder
/
Tcl
/
SystemCode
/
appleEvents.tcl
< prev
next >
Wrap
Text File
|
1994-06-15
|
478b
|
21 lines
# make alias list to pass to AEBuild
proc makeAlis {name} {
concat {[alis(«} [coerce TEXT $name -x alis] {»)]}
}
# Queued replies are passed through AEPrint and then to this routine.
proc handleReply {rep} {
global ALPHA lastReply
switchTo $ALPHA
set lastReply $rep
}
# Return an object record specifying the desired think project file.
proc fileObject {name} {
join [concat {obj\{want:type('SFIL'), from:'null'(), form:'name', seld:“} [file tail $name] {”\}}] ""
}